<%@ page import="com.qst.itoffer.bean.ApplicantBean" %>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%
    //获取请求的绝对路径
    //1.获取请求使用的协议
    String scheme=request.getScheme();
    //2.获取网站域名
    String webSite=request.getServerName();
    //3.获取url端口号
    int port=request.getServerPort();
    //4.获取当前web应用的根路径
    String path=request.getContextPath();
    //拼接请求的基路径
    String basePath=scheme+"://"+webSite+":"+port+path+"/";
    %>
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>无标题文档</title>
<base href="<%=basePath%>">
<link href="css/base.css" rel="stylesheet" type="text/css">
</head>

<body><div class="head">
	<div class="head_area">
		<div class="head_nav">
			<ul>
				<li><img src="images/nav_inc1.png" /><a href="index.jsp" target="_parent">首页</a></li>
				<li><img src="images/nav_inc2.png" /><a href="#">成功案例</a></li>
				<li><img src="images/nav_inc3.png" /><a href="#">关于锐聘</a></li>
			</ul>
		</div>
		
		<div class="head_user">
		 <%
		 ApplicantBean loginApplicant=(ApplicantBean)session.getAttribute("LoginApplicant");
		if(loginApplicant==null){
		%>
		<a href="login.jsp" target="_parent"><span class="type1">登录</span></a>
		<a href="register.jsp" target="_parent"><span class="type2">注册</span></a>
		<%
		}else{
		%>
		<a href="ResumeBasicInfoServlet?type=select" target="_parent"><%=loginApplicant.getApplicant_email() %></a>
		<a href="ApplicantLogoutServlet" target="_parent">&nbsp;&nbsp;&nbsp;&nbsp;退出</a> 
		<%
		}
		%>
		</div>
		<div class="clear"></div>
	</div>
</div>

<div class="top_main">
	<div class="top_instr">提供岗前培训的IT职位</div>
	<div class="top_tel"><img src="images/it-phone.png" /></div>
	<div class="clear"></div>
</div>

<div class="clear"></div>

</body>
</html>
